@layer setupPage;

details {
  border: 1px solid;
  padding: 0 1rem;
  background-color: rgb(60, 60, 60);
  text-align: justify;
  line-height: 1.5;
}
details + details {
  border-top: none;
}
details[open] {
  padding-bottom: 1em;
}
summary {
  padding: 1rem 2em 1rem 0;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
}

/* cascade layer: page setup. Doesn't impact the accordion */
@layer setupPage {
  :root {
    font-size: 110%;
    line-height: 1.5;
    text-align: justify;
  }
  body {
    background: rgb(60, 60, 60);
    color: #fbfbfb;
    font-family: "Courier New", Courier, monospace, sans-serif;
    text-align: justify;
  }
  * {
    box-sizing: border-box;
  }

  Rappel {
    text-align: justify;
    width: 38em;
    max-width: 98vw;
  }
}
slot:not([name]) {
  display: revert;
}
a {
  color: rgb(40, 238, 40);
}
a:hover {
  color: orange;
}
a:visited {
  color: rgb(249, 249, 7); /* Couleur pour les liens déjà visités */
}

.FlotteEnonce {
  float: right;
  width: 60%;
  height: 60%;
  text-align: center;
}
.Flotte40 {
  float: right;
  width: 40%;
  height: 40%;
  text-align: center;
}

.FlotteReponse {
  float: right;
  width: 60%;
  height: 60%;
  text-align: center;
}
.detailssanscadre {
  border: 0px solid;
  padding: 0 1rem;
  background-color: rgb(60, 60, 60);
  text-align: justify;
  line-height: 1.5;
}

.math-formule-container-base {
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  padding: 10px;
  vertical-align: middle;
}

.math-formule-container-center {
  margin: auto;
}

.math-formule-container-framed {
  border: 2px solid white;
  vertical-align: middle;
}
.math-formule-container-framed1 {
  border: 2px solid white;
}
.math-formule-container-inline {
  display: inline-block;
}

.img-container {
  overflow-x: auto;
}
